package com.ruoyi.game.domain.dto;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 心法对象 game_xinfa
 *
 * @author ghostmen
 * @date 2024-10-29
 */
@Data
@ApiModel(description = "心法对象")
public class GameXinfaAddDTO implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 角色职业id
     */
    @ApiModelProperty(value = "角色职业id", hidden = true)
    private Long roleId;

    /**
     * 心法
     */
    @NotBlank(message = "心法不能为空")
    @ApiModelProperty(value = "心法", required = true)
    private String xinfa;

}
